﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using WaterRevenueMS.Componnent.Entities.Authen;
using WaterRevenueMS.Componnent.Common;
using WaterRevenueMS.Domain.ViewModels.Authen.RoleModulePermission;

namespace WaterRevenueMS.Core.Service.Authen
{
    public interface IRoleModulePermissionService
    {
        IQueryable<RoleModulePermission> RoleModulePermissions { get; }

        #region 公共方法

        OperationResult SetRoleModulePermission(int roleId, IEnumerable<RoleModulePermissionModel> addModulePermissionList, IEnumerable<RoleModulePermissionModel> removeModulePermissionList);

        #endregion
    }
}
